package com.jckj.core.enums;

/**
 * 用户类型
 */
public enum UserType {

    ADMIN("1", "管理员"),
    OFFICER("2", "办公人员"),
    FARMER("3", "农民");

    private String code;
    private String name;

    UserType(String code, String name){
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
